<template>
  <div class="newslist">
     <div class="list">
    <card-item
    v-for="(item, index) of data"
    :key="index"
    :item='item'
    :index='index'
    
    />
     </div>
  </div>

</template>


<script>
import cardItem from './item'
export default {
    name: 'ContentList',
props:{
  data: Array
},
components:{
    cardItem 
}

}
</script>

<style lang="scss" scoped>
.newlist{
    // height: .40rem;
}

</style>